package com.palmind.view;

import javax.microedition.lcdui.Graphics;

public abstract class AbstractView {
	protected int x, y, width, height;

	public void setPosition(int x, int y, int width, int height) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}

	public abstract void paint(Graphics g);

	public abstract void keyPressed(int keyCode);
}
